package com.jye.rseven.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PtInfo implements Serializable {
    int id;
    int uId;
    int ptGoodsId;
    String ptCode;
    String ptOrderCode;
    String ptRefundCode;
    String ptGoodsName;
    double perPrice;
    double Price;
    String name;//收货人
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date addTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date endTime;
    String province;
    String city;
    String county;
    String address;
    String tel;
    int orderStatus;
    int isHeader;
    int number;
    @Transient
    private User user;
    @Transient
    private List<TyPtCode> tyPtCode;
    @Transient
    private TzPtCode tzPtCode;

}
